package com.ruoyi.TaskForce.mapper;

import java.util.List;
import com.ruoyi.TaskForce.domain.TeamManagement;
import com.ruoyi.TaskForce.domain.Team_Members;
import org.apache.ibatis.annotations.Param;

/**
 * TaskForceMapper接口
 * 
 * @author ruoyi
 * @date 2024-10-09
 */
public interface TeamManagementMapper 
{
    /**
     * 查询TaskForce
     * 
     * @param id TaskForce主键
     * @return TaskForce
     */
    public TeamManagement selectTeamManagementById(Long id);

    /**
     * 查询TaskForce列表
     * 
     * @param teamManagement TaskForce
     * @return TaskForce集合
     */
    public List<TeamManagement> selectTeamManagementList(TeamManagement teamManagement);

    /**
     * 新增TaskForce
     * 
     * @param teamManagement TaskForce
     * @return 结果
     */
    public int insertTeamManagement(TeamManagement teamManagement);

    /**
     * 修改TaskForce
     * 
     * @param teamManagement TaskForce
     * @return 结果
     */
    public int updateTeamManagement(TeamManagement teamManagement);

    /**
     * 删除TaskForce
     * 
     * @param id TaskForce主键
     * @return 结果
     */
    public int deleteTeamManagementById(Long id);

    /**
     * 批量删除TaskForce
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeamManagementByIds(Long[] ids);

    int saveCaptainInfo(@Param("phone_number") String phone_number,
                        @Param("team_leader") String team_leader,
                        @Param("team_id") Long team_id);}
